<!DOCTYPE html>
<html>
<#include "../head.html">
<body>
	<table class="mc">
		<tr>
			<td class="mc-l">
				<!--左侧导航---{-->
				<div id="navPanelContainer">
					<div class="system-logo cd"></div>
					<!--管理员信息---{-->
					<#include "../adminInfo.html">
					<!--管理员信息---}-->
					<div class="nav-wrap">
					<!-- v1.6.6.2 RDPROJECT-238 lhm 2013-10-21 start -->
						<#include "../setting/left.html">
					<!-- v1.6.6.2 RDPROJECT-238 lhm 2013-10-21 end -->
					</div>
				</div> 
				<!--左侧导航---}-->
			</td>
			<td class="mc-m">
				<div class="navToggle"></div>
			</td>
			<td class="mc-r">
				<!--顶部导航---{--> 
				<#include "../topNav.html"> 
				<!--顶部导航---}--> 
				<!--面包屑导航---{-->
				<#assign moduleName="图片管理"> 
				<!-- v1.6.6.2 RDPROJECT-238 lhm 2013-10-21 start -->
				<#include "../setting/banner.html"> 
				<!-- v1.6.6.2 RDPROJECT-238 lhm 2013-10-21 end -->
				<!--面包屑导航---}-->
				<div id="toolbar" class="clearfix">
					<div class="toolbor-module">
						<a href="addScrollPic.html" class="input-button" style="line-height: 24px;">+添加图片</a>
					</div>
				</div>
				<div id="main" class="clearfix">
					<form action="" method="post">
						<table class="data-list">
							<tr class="header">
								<td>ID</td>
								<td>顺序</td>
								<!-- v1.6.5.3 RDPROJECT-39  zza 2013-09-12 start -->
								<td>文字说明 </td>
								<!-- v1.6.5.3 RDPROJECT-39  zza 2013-09-12 end -->
								<td>链接地址</td>
								<td>图片详情（点击查看）</td>
								<td>图片类型</td>
								<td>操作</td>
							</tr>
							<#list list as item>
							<tr class="s">
								<td>${item.id!"-"}</td>
								<td>${item.sort!}</td>
								<!-- v1.6.5.3 RDPROJECT-39  zza 2013-09-12 start -->
								<td>${item.name!}</td>
								<!-- v1.6.5.3 RDPROJECT-39  zza 2013-09-12 end -->
								<td>${item.url!}</td>
								<td><a href="${webroot}/${item.pic!}" target="_blank">${item.pic!}</a></td>
								<td><#if item??&&item.type_id==1>首页滚动图片<#elseif item.type_id==2>合作伙伴<#else>友情链接</#if></td>
								<td>
									<a href="modifyScrollPic.html?id=${item.id?c}">修改图片</a>
									<a href="#" onClick="javascript:if(confirm('确定要删除吗?删除后将不可恢复')) location.href='deleteScrollPic.html?id=${item.id?c}'">删除图片</a>
								</td>
							</tr>
							</#list>
						</table>
					</form>
					<!--底部工具栏--{-->
					<div id="bottomToolbar" class="clearfix">
						<div class="other-tool">
							<dl class="refresh-data">
								<dt class="refresh-data-icon"></dt>
								<dd>
									<a href="javascript:void(0);" class="refresh-page">刷新数据</a>
								</dd>
							</dl>
						</div>
						<!--翻页系统--{-->
						<div class="container">
							<#import "../../common/page.html" as pager> 
							<@pager.pagination page=page url="/admin/article/showScrollPic.html" map=param style="style1" />
						</div>
						<!--翻页系统--}-->
					</div>
					<!--底部工具栏--}-->
					<script>
						var url = 'showAllComment.html?search=true';
						function sousuo() {
							var sou = "";
							var username = $("#username").val();
							if (username != "" && username != "请输入用户名") {
								sou += "&username=" + username;
							}
							if (sou != "") {
								location.href = url + sou;
							}
						}
					</script>
				</div>
			</td>
		</tr>
		<tr>
			<!--尾部--{-->
			<td colspan="3" class="mc-b"><#include "../foot.html"></td>
			<!--尾部--}-->
		</tr>
	</table>
</body>
</html>
<#include "../jsPage.html">
